<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/Geometry.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Geometry.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="libslic3r_8h_source.html">libslic3r.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_bounding_box_8hpp_source.html">BoundingBox.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_ex_polygon_8hpp_source.html">ExPolygon.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_polygon_8hpp_source.html">Polygon.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_polyline_8hpp_source.html">Polyline.hpp</a>&quot;</code><br />
<code>#include &quot;boost/polygon/voronoi.hpp&quot;</code><br />
</div>
<p><a href="_geometry_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_geometry_1_1_medial_axis.html">Slic3r::Geometry::MedialAxis</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_slic3r"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html">Slic3r</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespace_slic3r_1_1_geometry"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html">Slic3r::Geometry</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a037ef9491ae6b568cc21bb267e86c771"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_polygon.html">Polygon</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a037ef9491ae6b568cc21bb267e86c771">Slic3r::Geometry::convex_hull</a> (<a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> points)</td></tr>
<tr class="separator:a037ef9491ae6b568cc21bb267e86c771"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2ffa584b0adcf1b4c436f8d86f01cb2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_polygon.html">Polygon</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#ae2ffa584b0adcf1b4c436f8d86f01cb2">Slic3r::Geometry::convex_hull</a> (const <a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> &amp;polygons)</td></tr>
<tr class="separator:ae2ffa584b0adcf1b4c436f8d86f01cb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaacc3c125df7471cc2a6b110ca76cfd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#abaacc3c125df7471cc2a6b110ca76cfd">Slic3r::Geometry::chained_path</a> (const <a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;points, std::vector&lt; Points::size_type &gt; &amp;retval, <a class="el" href="class_slic3r_1_1_point.html">Point</a> start_near)</td></tr>
<tr class="separator:abaacc3c125df7471cc2a6b110ca76cfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c0fb026130b21e798c721256cdd0ed1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a0c0fb026130b21e798c721256cdd0ed1">Slic3r::Geometry::chained_path</a> (const <a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;points, std::vector&lt; Points::size_type &gt; &amp;retval)</td></tr>
<tr class="separator:a0c0fb026130b21e798c721256cdd0ed1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6850761bf29304ed29e0b06be9dcbac2"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a6850761bf29304ed29e0b06be9dcbac2"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a6850761bf29304ed29e0b06be9dcbac2">Slic3r::Geometry::chained_path_items</a> (<a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;points, T &amp;items, T &amp;retval)</td></tr>
<tr class="separator:a6850761bf29304ed29e0b06be9dcbac2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f18e233c41ce44d3a197c3e4947ed95"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a0f18e233c41ce44d3a197c3e4947ed95">Slic3r::Geometry::directions_parallel</a> (double angle1, double angle2, double max_diff)</td></tr>
<tr class="separator:a0f18e233c41ce44d3a197c3e4947ed95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76f16102117bed6ec747534bc0399c43"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a76f16102117bed6ec747534bc0399c43"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a76f16102117bed6ec747534bc0399c43">Slic3r::Geometry::contains</a> (const std::vector&lt; T &gt; &amp;vector, const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point)</td></tr>
<tr class="separator:a76f16102117bed6ec747534bc0399c43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adedb00142ab5f82a0e5bc781c4125501"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:adedb00142ab5f82a0e5bc781c4125501"><td class="memTemplItemLeft" align="right" valign="top">double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#adedb00142ab5f82a0e5bc781c4125501">Slic3r::Geometry::area</a> (const std::vector&lt; T &gt; &amp;vector)</td></tr>
<tr class="separator:adedb00142ab5f82a0e5bc781c4125501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb300f778c7b8881f678cb52f58552f5"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#acb300f778c7b8881f678cb52f58552f5">Slic3r::Geometry::rad2deg</a> (double angle)</td></tr>
<tr class="separator:acb300f778c7b8881f678cb52f58552f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b919e3c511027110db4303b961293f1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a9b919e3c511027110db4303b961293f1">Slic3r::Geometry::rad2deg_dir</a> (double angle)</td></tr>
<tr class="separator:a9b919e3c511027110db4303b961293f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec2a8e145511303449b633bb390a3cf9"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#aec2a8e145511303449b633bb390a3cf9">Slic3r::Geometry::deg2rad</a> (double angle)</td></tr>
<tr class="separator:aec2a8e145511303449b633bb390a3cf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35a172d6d50d7fb4328abeca34388c3b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#a35a172d6d50d7fb4328abeca34388c3b">Slic3r::Geometry::linint</a> (double value, double oldmin, double oldmax, double newmin, double newmax)</td></tr>
<tr class="separator:a35a172d6d50d7fb4328abeca34388c3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af085246e501fa3d36f6d84a167bdee52"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r_1_1_geometry.html#af085246e501fa3d36f6d84a167bdee52">Slic3r::Geometry::arrange</a> (size_t total_parts, const <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;part_size, <a class="el" href="namespace_slic3r.html#a2ac5c755948c74f5f5f975acd5057fe9">coordf_t</a> dist, const <a class="el" href="class_slic3r_1_1_bounding_boxf.html">BoundingBoxf</a> *bb, <a class="el" href="namespace_slic3r.html#af371c2c21f879fac0a0c172a992df9a5">Pointfs</a> &amp;positions)</td></tr>
<tr class="separator:af085246e501fa3d36f6d84a167bdee52"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
